package com.alibaba.chaosblade.box.common.infrastructure.util;
import org.springframework.core.io.Resource;
/**
 * @description:
 * @author: 李文
 * @create: 2025-04-14 15:31
 **/
public class CustomResourceNotFoundException extends RuntimeException {
    public CustomResourceNotFoundException(String message, Resource resource) {
        super(message + ": " + resource.getDescription());
    }

    public CustomResourceNotFoundException(String message, Resource resource, Throwable cause) {
        super(message + ": " + resource.getDescription(), cause);
    }
}
